<template>
  <div class="shop-index">
    <div class="shop-footer-box">
      <goods-submit :onClickButton="onClickButton"></goods-submit>
    </div>
    <div class="tree-select-box">
      <tree-select></tree-select>
    </div>


    <sku v-model="show" ></sku>
  </div>
</template>

<script>
import goodsSubmit from './goodsAction/index.vue'
import treeSelect from './treeSelect/index.vue'
import sku from './sku'
export default {
  name: "shop",
  components: {
    goodsSubmit,treeSelect,sku
  },
  data () {
    return {
      show: false
    }
  },
  methods: {
    onClickButton: function () {
      this.show = true
      console.log('as')
    }
  }
};
</script>

<style></style>
